package com.kjlink.internal.workreport.base.enums;

/**
 * 描述:
 * jira 状态
 * select b.pname , count(*) from jiraissue a
 * left join issuestatus b on a.issuestatus  = b.ID
 * where 1=1 and  a.CREATED  >= DATEADD(YEAR, -1, GETDATE()) and a.UPDATED >= DATEADD(YEAR, -1, GETDATE())
 * group by b.pname  ;
 *
 * @author Vic.xu
 * @since 2024-12-16 10:42
 */
public enum JiraStatus implements SelectEnumInterface {

    Closed("Closed"),
    InProgress("In Progress"),
    Open("Open"),
    Paused("Paused"),
    Released("Released"),
    Reopened("Reopened"),
    Resolved("Resolved"),

    ;

    private String text;

    JiraStatus(String text) {
        this.text = text;
    }

    @Override
    public String getValue() {
        return text;
    }

    @Override
    public String getText() {
        return text;
    }
}
